 <!-- 头部 -->
	{include file='public/header'}
<!-- 头部 --> 
			<div class="content">
				<div class="tips_msg none"><span class="tips">保存成功</span><span class="close_tips"></span></div>
				<div class="edit_title">[{$pid|get_category='title'}]{$meta_title|default=""}</div>
				<div class="search">
					<form class="search-form"  action="{:url()}" method="post">
					  <div class="group">
					       标题：<input type="text" name="title" class="search_ipt" value="{:input('title')}"/>
					  
					  </div>
						  <div class="group">
					     关键字：<input type="text" name="content"  class="search_ipt" value="{:input('content')}"/>
					  </div>
					   <div class="group">
					      状态：<select name="status" class="search_ipt">						  
					           <option value="1" >正常</option>
							   <option value="0" >禁用</option>
			                  </select>
						  </div>
						  <div class="group"> <div class="group">
					     描述：<input type="text" name="description"  class="search_ipt" value="{:input('description')}"/><input type="button" class="search_btn"value="搜索" onclick="$('.search-form').submit()">
						  </div>
					</form>
					</div></div>
				<div class="table">
					<div class="edit">
						<div class="edit_left ">
							<a href="{:url('add?pid='.$pid)}" class="add cur">新增</a>
							<a data-url="{:url('del')}" class="delete cur">删除</a>
						</div>
						<div class="search_right">
							<input type="text" />
							<div class="search_btn"></div>
						</div>
					</div>
					<table class="list_table">
					              <tr>  <th> <input class="checkbox check-all" type="checkbox">
											
                                        </th>
										<th>id</th>
										<th>标题</th>

										<th>所属分类</th>
										<th>状态</th>
										<th>更新时间</th>
										<th class="">操作</th>
				                    </tr>
				                    {volist name="res.list" id="vo"}

										<tr class="even gradeC">
										<td> 
										<input class="ids row-selected" type="checkbox" name="id[]" value="{$vo.id}">
										</td>
										<td>{$vo.id}</td>

										<td><a href="{:U('auth/edit?id='.$vo['id'])}">{$vo.title}</a> </td>


										<td>{$vo.category_id|get_category='title'}</td>
										<td>{$vo.status}</td>
										<td>{$vo.update_time|date="Y-m-d h:i",###}</td>


										<td class="list_opr">

										<span class="opr_box">
										<a href="{:url('edit?id='.$vo['id'])}" class="edit_btn cur">编辑</a>
										<a data-url="{:url('del?id='.$vo['id'])}" class="del_btn cur">删除</a>
                                        <a href="{:site_url()}/index.php/index/article/detail/id/{$vo.id}" target="_blank">预览</a>
										</span>          
										</td>
										</tr>
											
										{/volist}
					</table>
					<!--分页-->
					<ul class="pagination">
						  {$res.page}
					</ul>
				
				</div>
				
			</div>

		</div>
	  
		<!-- 尾部 -->
	              {include file='public/footer'}
              <!-- 尾部 --> 	

